package com.mrd.frame.onlinepay.refund;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import com.mrd.frame.domain.AccessConfig;
import com.mrd.frame.domain.Order;
import com.mrd.frame.domain.OrderInteraction;
import com.mrd.frame.domain.TradeStatement;
import com.mrd.frame.domain.params.RefundParams;
import com.mrd.frame.service.OrderInteractionService;
import com.mrd.frame.service.OrderService;
import com.mrd.frame.service.TradeStatementService;

public interface IRefund {
	/**
	 * 退款
	 * @param response
	 * @param orderInt
	 * @param orderInteractionService
	 * @param accessConfig
	 * @param order
	 * @param ords
	 * @param refParams
	 * @param orderService
	 * @param tradeStatementService
	 * @return
	 */
	Map<String, Object> refund(HttpServletResponse response,OrderInteraction orderInt,
	        OrderInteractionService orderInteractionService,AccessConfig accessConfig,Order order,
	        TradeStatement payStatement, RefundParams refParams,OrderService orderService,
	        TradeStatementService tradeStatementService);
}
